package pw.archipelag.loaderGame.panel {
	import flash.display.Sprite;
	import flash.text.TextField;
	import base.tf.TextFieldUtils;
	import pw.archipelag.loaderGame.interfaceGame.skinsPanel.SkinTf;

	public class PanelAbstractLabel extends Sprite {
		
		protected var tfLabel: TextField;
		
		public function PanelAbstractLabel(strLabel: String) {
			this.createTfLabel(strLabel);
		}
		
		private function createTfLabel(strLabel: String): void {
			this.tfLabel = TextFieldUtils.createTextField(new SkinTf().tFormat);
			this.tfLabel.text = strLabel;
			this.addChild(this.tfLabel);
		}
		
		internal function drawToTfLabel(skinTf: SkinTf): void {
			skinTf = skinTf || new SkinTf();
			skinTf.drawToTf(this.tfLabel, 6);
		}
		
		internal function initShow():void {}
		
		internal function start(): void {}
		
		internal function stop(): void {}
		
		public function destroy(): void {}
		
	}

}